<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"> 
	<head>
		<meta charset="utf-8">
		<title>国宇人力</title>
		
		<!-- 引入layui支持 -->
		<script type="text/javascript" th:src="@{/js/jquery.min.js}" ></script>
		<script type="text/javascript" th:src="@{/js/afquery.js}" ></script>
		<script type="text/javascript" th:src="@{/layui/layui.all.js}" ></script>
		<link rel="stylesheet" th:href="@{/layui/css/layui.css}" />
		
	</head>
	<body>
	<div class="layui-fluid">
		
		<!-- 头部导航区 -->
		<div>
			<ul class="layui-nav layui-bg-blue" lay-filter="">
			  <li class="layui-nav-item "><a th:href="@{/u/companyList/9}" class="Allfactory"  target="voidFrame">全部企业</a></li>
			  <li class="layui-nav-item layui-this"><a th:href="@{/u/companyList/3}" target="voidFrame">市信产</a></li>
			  <li class="layui-nav-item">
				<a href="javascript:;">区信产</a>
				<dl class="layui-nav-child"> <!-- 二级菜单 -->
				  <dd><a th:href="@{/u/companyList/1}" target="voidFrame">渝北区信产</a></dd>
				  <dd><a th:href="@{/u/companyList/2}" target="voidFrame">北碚区信产</a></dd>
				</dl>
			  </li>
			  <li class="layui-nav-item"><a th:href="@{/u/companyList/0}" target="voidFrame">非信产</a></li><!-- 暂时8代表非信产 -->
			  <li class="layui-nav-item "><a th:href="@{/u/companyList/4}" target="voidFrame">市外企业</a></li>
			  <li class="layui-nav-item"><a th:href="@{/u/post/list}" target="voidFrame">全部岗位</a></li>
			</ul>
			
			<!-- 靠右的地方 -->
			<ul class="layui-nav layui-bg-blue layui-layout-right">
			  <li class="layui-nav-item">
				
			  </li>
			  <li class="layui-nav-item"><a href="/exit">退出</a></li>
			</ul>
		</div>
		
		<!-- 内容主体区域 -->
		<div style="padding: 15px; ">
			<iframe src="/u/companyList/3" name="voidFrame" frameborder="0" style="min-height: 2000px; width: 100%;"></iframe>
		</div>
	 
	</div>
	</body>
	
	<script>
	//注意：导航 依赖 element 模块，否则无法进行功能性操作
	layui.use('element', function(){
	  var element = layui.element;
	  
	  element.render('nav');
	  //…
	});
	
	// $(function(){ 
	// 	$('.Allfactory').trigger("click");  // 模拟点击一下请求标签<a>
	// }); 
		
	
	</script>
	
	
</html>
